package org.jef.upms.impl.controller;

import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.AllArgsConstructor;
import org.jef.core.util.R;
import org.jef.upms.api.entity.SysOauthClientDetails;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @version 1.0
 * @description: 系统探活
 * @author: ChengZhi 0336
 * @create: 2024-08-27 10:41
 **/
@RestController
@AllArgsConstructor
@RequestMapping("/check")
@Tag(description = "check", name = "可用性检测模块")
public class SysCheckController {

    @GetMapping
    public R check() {
        return R.ok("I'm alive");
    }
}
